projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ecbcc
)
* lisp/emacs-lisp/cl-extra.el (cl-parse-integer): side-effect-free.
author
Mattias Engdegård
<mattiase@acm.org>
Sun, 9 Apr 2023 08:45:43 +0000
(10:45 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Sun, 9 Apr 2023 08:45:43 +0000
(10:45 +0200)
lisp/emacs-lisp/cl-extra.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/cl-extra.el
b/lisp/emacs-lisp/cl-extra.el
index de5eb9c2d9227c1795e29b167321dd6e92386769..e1c8ebe2559a1f73a9dea7e3e64e3c6f6c1fc83f 100644
(file)
--- a/
lisp/emacs-lisp/cl-extra.el
+++ b/
lisp/emacs-lisp/cl-extra.el
@@
-408,6
+408,7
@@
Other non-digit chars are considered junk.
RADIX is an integer between 2 and 36, the default is 10. Signal
an error if the substring between START and END cannot be parsed
as an integer unless JUNK-ALLOWED is non-nil."
+ (declare (side-effect-free t))
(cl-check-type string string)
(let* ((start (or start 0))
(len (length string))